<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


class Smis extends CCMIS_Controller {

    public function __construct() {
        parent::__construct();
    }

    public function index()
    {
        $username = $this->session->userdata('username');
        if($username)
            $this->dashboard();
        else
            $this->home();
    }

    public function home()
    {
        $this->setup_view('smis/smis/home');
    }

    public function dashboard()
    {
        $this->setup_view('smis/smis/dashboard');
    }

    public function profile()
    {
        $this->setup_view('smis/smis/profile');
    }

}
